/**
 * @Author: MN
 * @Date: 2023-08-22 17:50:51
 * @LastEditTime: 2023-08-22 18:28:55
 * @LastEditors: MN
 * @Description: ''
 * @FilePath: \vue2-element-admin-simple-diy\src\utils\auth.js
 */
import Cookies from 'js-cookie'

const TokenKey = 'template_diy'

export function getToken () {
  return Cookies.get(TokenKey)
}

export function setToken (token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken () {
  return Cookies.remove(TokenKey)
}
